package com.zr.dao.finance;

import com.zr.vo.finance.FinanceStatement;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface FinanceStatementDao {
    int deleteByPrimaryKey(Integer id);

    int insert(FinanceStatement record);

    int insertSelective(FinanceStatement record);

    FinanceStatement selectByPrimaryKey(Integer id);

    int updateByStatementIdSelective(FinanceStatement record);

    int updateByPrimaryKey(FinanceStatement record);

    List<FinanceStatement> getList(FinanceStatement financeStatement);

    FinanceStatement selectByStatementId(FinanceStatement financeStatement);

    List<FinanceStatement> selectByInvoiceId(String invoiceId);

    int updateInvoiceId(@PathVariable("invoiceId") String invoiceId, @PathVariable("statementId") String statementId);
}